<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Orders extends AdminBase {
	public function __construct()
    {
        parent::__construct();
    }

	public function index()
	{
		$post = $this->input->post();
		if($post){
			var_dump($post);
		}else{
			$this->admin_view('test','图片测试');
		}
	}
	public function add()
	{
		$post = $this->input->post();
		if($post){
			var_dump($post);
		}else{
			$this->admin_view('product_form','商品上新');
		}
	}

}